package pub.cleangao.common.jvm;

import net.bytebuddy.ByteBuddy;
import net.bytebuddy.description.annotation.AnnotationDescription;
import net.bytebuddy.dynamic.loading.ClassReloadingStrategy;

import java.lang.annotation.Annotation;
import java.lang.reflect.Method;
import java.util.Map;

public class ClassBytes {

    /**
     * 给某个方法加上注解
     *
     * @param targetClass      目标类
     * @param method           目标方法
     * @param annotationClass  注解类
     * @param annotationValues 注解类内部的属性值
     */
    public static void addAnnotation(Class<?> targetClass, Method method,
                                     Class<? extends Annotation> annotationClass,
                                     Map<String, Object> annotationValues) {


    }

}
